package com.sti.framework.models.Aps.data;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sti.framework.core.data.AbstractAuditingEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @Description
 * @Author dj
 * @Date: 2024-07-05 20:44:53
 */

@Data
@TableName("aps_parameter")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = " aps_parameter ", description = " 排程参数主表 ")
public class ApsParameter extends AbstractAuditingEntity {

    @TableField(value = "parameter_name")
    @ApiModelProperty(value = "参数名称代码")
    private String parameterName;

    @TableField(value = "description")
    @ApiModelProperty(value = "参数描述中文")
    private String description;

    @TableField(value = "category")
    @ApiModelProperty(value = "0.单值 1.多值")
    private String category;

    @TableField(value = "parameter_value")
    @ApiModelProperty(value = "单值的默认值")
    private String parameterValue;

    @TableField(value = "priority_value")
    @ApiModelProperty(value = "优先级值1最高 5最低")
    private long priorityValue;

    @TableField(exist = false)
    private List<ApsParameterValue> apsParameterValueList;
}
